package ch03;

class OperatorEx21 {
	public static void main(String[] args) {
		// result sign is equal left operand sign.
		System.out.println(-10 % 8); // -2
		System.out.println(10 % -8); // 2
		System.out.println(-10 % -8); // -2
	}
}